package com.gaofeng.day14;

public class demo01 {
    public static void main(String[] args) {

        String str1 = new String("abc");
        String str2 = "Abc";
        System.out.println(str2 == str1);
        System.out.println(str1.equals(str2));
        System.out.println(str1.equalsIgnoreCase(str2));
    }
}
